<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style type="text/css">
            .div1{background-color: #F90}
        </style>

    </head>
    <body>
        <div>TODO write content</div>
        <script type="text/javascript">
            function createEle(tagName, content, className, id){
                var ele = document.createElement(tagName);
                if(className != null && className != undefined) {
                    ele.setAttribute("class", className);
                }
                if(id != null && id != undefined) {
                    ele.setAttribute("id", id);
                }
                if(content != null && content != undefined) {
                    ele.innerHTML = content;
                }
                return ele;
            }
            var div = createEle("div","hello","div1");
            document.body.appendChild(div);
        </script>
    </body>
</html>
